import request from '@/utils/request'

export function optionsAction(action) {
  return request({
    url: '/statistics/options/'+action,
    method: 'get',
  })
}

export function report(query) {
  return request({
    url: '/statistics/report',
    method: 'get',
    params: query
  })
}

export function indexCount() {
  return request({
    url: '/statistics/indexCount',
    method: 'get'
  })
}

export function indexCountV2() {
  return request({
    url: '/statistics/indexCountv2',
    method: 'get'
  })
}
